package ywh.utils.event
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author 杨伟华
	 */
	public class LoadersPoolEvent extends Event
	{
		/**
		 * 加载到队列;
		 */
		static public const LOAD_ADD_TO_QUEUE:String = "LOAD_ADD_TO_QUEUE";
		/**
		 * 队列已空;
		 */
		static public const LOAD_QUEUE_IS_EMPTY:String = "LOAD_QUEUE_IS_EMPTY";
		/**
		 * 队列完成;
		 */
		static public const LOAD_ALL_FINISH:String = "LOAD_ALL_FINISH";
		/**
		 * 加载开始;
		 */
		static public const LOAD_BEGIN:String = "LOAD_BEGIN";
		/**
		 * 加载完成;
		 */
		static public const LOAD_FINISH:String = "LOAD_BEGIN";
		
		public function LoadersPoolEvent(type:String)
		{
			super(type, false, false);
		}
		
		public override function clone():Event
		{
			return new LoadersPoolEvent(type);
		}
		
		public override function toString():String
		{
			return formatToString("LoadersPoolEvent", "type", "bubbles", "cancelable", "eventPhase");
		}
	
	}

}